class Equip_Skill_002 < Equip_Skill
  attr_accessor   :id
  def initialize(actor, level)
    super(actor, level)
    @id = 2
    @name = '攻击力UP'
    for i in 1..10
      @descriptions.push('增加' + (i * 10).to_s + '点攻击力')
    end
    change_level(level)
  end
  def change_level(value)
    @actor.plus_props.remove_plus(Plus_Props::ATK, @help_value)
    super(value)
    if @level <= 0
      return
    end
    @help_value = @level * 10
    @actor.plus_props.add_plus(Plus_Props::ATK, @help_value)
  end
end
